package c;

public class Linxing {

	public static void main(String[] args) {
		for(int i=1;i<=5;i++) {
			 
		for(int a=1;a<=6-i;a++){
			 
			System.out.print(" ");			 
}		 
		for (int j = 1; j <=2*i-1; j++) {
			System.out.print("*");
		}
	  		System.out.println();
				}
				for(int g=1;g<=4;g++) {
			 		for(int a=1;a<=g+1;a++){
						System.out.print(" ");
					}
			for(int b=1;b<=9-2*g;b++) {
					System.out.print("*");
				}
			  		System.out.println(); 
	}
	}

}
